package com.cpi.cornpp.instructionspurchaseforecast.dto;

import java.io.Serializable;

public class InstructionPurchaseForecastSearchDTO implements Serializable {
	private static final long serialVersionUID = -2935361256887336692L;

	public static String YEAR_ORDER = "ys.year";//$NON-NLS-1$
	
	public static String CUSTOMER_ORDER = "ys.customer_id";//$NON-NLS-1$
	
	public static String ITEM_ORDER = "ys.item_id";//$NON-NLS-1$
	
	public static String COVERAGE_FIELD = " convert( decimal(18,2), (((yf.instructions_futures/(select qty from units where unit_id = 'CON'))/corn_contracted)*100)) ";
	
	private int fromYear;
	
	private int toYear;
	
	private String customerId;
	
	private String customerDescription;
	
	private String itemId;
	
	private String itemDescription;
	
	private double coverageInit;
	
	private double coverageEnd;
	
	public String getCustomerId() {
		return customerId;
	}

	public void setCustomerId(String customerId) {
		this.customerId = customerId;
	}

	public String getCustomerDescription() {
		return customerDescription;
	}

	public void setCustomerDescription(String customerDescription) {
		this.customerDescription = customerDescription;
	}

	public String getItemId() {
		return itemId;
	}

	public void setItemId(String itemId) {
		this.itemId = itemId;
	}

	public String getItemDescription() {
		return itemDescription;
	}

	public void setItemDescription(String itemDescription) {
		this.itemDescription = itemDescription;
	}

	public int getFromYear() {
		return fromYear;
	}

	public void setFromYear(int year) {
		this.fromYear = year;
	}

	public int getToYear() {
		return toYear;
	}

	public void setToYear(int toYear) {
		this.toYear = toYear;
	}

	public void setCoverageInit(double coverageInit) {
		this.coverageInit = coverageInit;
	}

	public double getCoverageInit() {
		return coverageInit;
	}

	public void setCoverageEnd(double coverageEnd) {
		this.coverageEnd = coverageEnd;
	}

	public double getCoverageEnd() {
		return coverageEnd;
	}

}
